package com.example.survey_determination.controller;

import com.example.survey_determination.service.SysUserInfoService;
import entity.sys_user_info;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * (SysUserInfo)表控制层
 *
 * @author makejava
 * @since 2022-01-13 22:43:40
 */
@CrossOrigin(methods = {RequestMethod.GET,RequestMethod.POST})
@RestController
@RequestMapping("sysUserInfo")
public class SysUserInfoController {
    /**
     * 服务对象
     */
    @Resource
    private SysUserInfoService sysUserInfoService;



    /**
     * 通过主键查询单条数据
     *
     * @return 单条数据
     */
    @RequestMapping("queryAll")
    public List<sys_user_info> queryAll() {
        return this.sysUserInfoService.queryAll();
    }



}

